using SmartSoft.DAL;
using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Data;


/// <summary>
/// Summary description for WSDmDvtDataAccess
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WSDmDvtDataAccess : System.Web.Services.WebService
{

    private DmDvtDataAccess objDataAccess = new DmDvtDataAccess();
    public WSDmDvtDataAccess()
    {
        //Uncomment the following line if using designed components 
        //InitializeComponent(); 
    }

    [WebMethod]
    public DataSet GetDataSet()
    {
        return objDataAccess.GetDataSet();
    }

    [WebMethod]
    public int SaveRow(bool pb_NewChecked, DataTable tableRow)
    {
        return objDataAccess.SaveRow(pb_NewChecked, tableRow.Rows[0]); 
    }

}

